package top.tangyh.lamp.care.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import static com.baomidou.mybatisplus.annotation.SqlCondition.EQUAL;
import static top.tangyh.lamp.model.constant.Condition.LIKE;
import top.tangyh.basic.base.entity.Entity;


/**
 * <p>
 * 实体类
 * Isbar交班单A评估和班次详情表
 * </p>
 *
 * @author zqb
 * @date 2024-08-12 10:28:25
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@Builder
@TableName("b_care_isbar_a_pg")
public class BCareIsbarAPg extends Entity<Long> {


    private static final long serialVersionUID = 2176177977911934418L;
    /**
     * 对应明细表id
     */
    @TableField(value = "detail_id", condition = EQUAL)
    @Schema(description = "对应明细表id")
    private Long detailId;
    /**
     * 班次名称
     */
    @TableField(value = "work_name", condition = LIKE)
    @Schema(description = "班次名称")
    private String workName;
    /**
     * A评估
     */
    @TableField(value = "a_pg", condition = LIKE)
    @Schema(description = "A评估")
    private String aPg;
    /**
     * 交班时间
     */
    @TableField(value = "jiao_ban_time", condition = EQUAL)
    @Schema(description = "交班时间")
    private LocalDateTime jiaoBanTime;
    /**
     * 交班人
     */
    @TableField(value = "jiao_ban_name", condition = LIKE)
    @Schema(description = "交班人")
    private String jiaoBanName;
    /**
     * 接班时间
     */
    @TableField(value = "jie_ban_time", condition = EQUAL)
    @Schema(description = "接班时间")
    private LocalDateTime jieBanTime;
    /**
     * 接班人
     */
    @TableField(value = "jie_ban_name", condition = LIKE)
    @Schema(description = "接班人")
    private String jieBanName;


    public String getaPg() {
        return aPg;
    }
}
